package com.sandalphon.Util;

public class IntUtil {
	public static String convertToString(int[] n) {
		String str = "";
		for(int i = 0; i < n.length; i++) {
			str = str + n[i] + " ";
		}
		return str;
	}
	public static String convertToDBString(int[] ids, int[] nums) {
		String str = "";
		for(int i = 0; i<ids.length; i++) {
			if(i+1 != ids.length)
				str = str + ids[i] + "*" + nums[i] + " ";
			else
				str = str + ids[i] + "*" + nums[i];
		}
		return str;
	}
}
